ajjjjjjjjjxxxxxxxxx<?php
	if(!$message)
		echo 'Invalid Message';
	else{?>
	<div id="message_<?php echo $message['Message']['id'];?>">
		<?php if(cr('Messages.allowSubject')==true):?>
			<span class="message-subject"><?php echo $message['Message']['subject']!= '' ? $message['Message']['subject'] : $message['Message']['subject']?></span>
			<?php  endif;?>
		<?php echo nl2br($message['Message']['body'])?>
	</div>
	<?php if(cr('Messages.allowAttachments')==true && $message['Attachment']['id']):?>
	<?php echo $html->link($message['Attachment']['name'],'/attachment/'.$message['Attachment']['name']);
		endif;
	?>
<?php  } ?>